<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>关于户外运动</title>
    <script src="../js/plugins/flexible.js"></script>
    <link rel="stylesheet" type="text/css" href="../css/public/common.css">
    <link rel="stylesheet" type="text/css" href="../css/intelligence.css">
</head>

<body id="bg">
    <div class="wrapper clearfix">
        <div class="j_header clearfix nav_ul">
            <a href="javascript:;"><span class="icon_box"><i class="icon_01"></i><i class="icon_11"></i></span><em class="txt">关于户外俱乐部</em></a>
            <a class="bgGray" data-type="b" href="javascript:;"><span class="icon_box"><i class="icon_02"></i><i class="icon_22"></i></span><em class="txt">户外运动</em></a>
            <a id="apply" href="javascript:;"><span class="icon_box"><i class="icon_03"></i><i class="icon_33"></i></span><em class="txt">申请</em><i class="jt"></i></a>
        </div>
        <!--  关于户外俱乐部 -->
        <div class="list_box">
            <div class="pics">
                <img src="../img/deta/huwai.jpg" alt="">
            </div>
            <a href="tel:13178250903" class="tel bott"></a>
        </div>
        <!--  户外运动 -->
        <div class="list_box">
            <textarea>
                <ul>
                    <li class="border_bot">
                        <a href="javascript:;" class="slideInUp"><img src="../img/deta/list_01.png" alt=""></a>
                        <div class="content_container slideInUp">
                            <div class="pic"><img src="../img/deta/list_big.png" alt=""></div>
                            <div class="video"><img src="../img/deta/video_pci.png" alt="">
                                <a class="video_start" href="javascript:;"></a>
                                <div class="video_txt_box" data-url="../img/video_20161202_153609.mp4">
                                </div>
                            </div>
                            <div class="foo_box">
                                <img class="pic1" src="../img/deta/block.png" alt="">
                                <img class="pic2" src="../img/deta/circle.png" alt="">
                                <img class="pic3" src="../img/deta/txts.png" alt="">
                                <img class="pic4" src="../img/deta/icons.png" alt="">
                            </div>
                        </div>
                    </li>
                   <li class="border_bot">
                        <a href="javascript:;" class="slideInUp"><img src="../img/deta/list_01.png" alt=""></a>
                        <div class="content_container slideInUp">
                            <div class="pic"><img src="../img/deta/list_big.png" alt=""></div>
                            <div class="video"><img src="../img/deta/video_pci.png" alt="">
                                <a class="video_start" href="javascript:;"></a>
                                <div class="video_txt_box" data-url="../img/video_20161202_153609.mp4">
                                </div>
                            </div>
                            <div class="foo_box">
                                <img class="pic1" src="../img/deta/block.png" alt="">
                                <img class="pic2" src="../img/deta/circle.png" alt="">
                                <img class="pic3" src="../img/deta/txts.png" alt="">
                                <img class="pic4" src="../img/deta/icons.png" alt="">
                            </div>
                        </div>
                    </li>
                    <li class="border_bot">
                        <a href="javascript:;" class="slideInUp"><img src="../img/deta/list_01.png" alt=""></a>
                        <div class="content_container slideInUp">
                            <div class="pic"><img src="../img/deta/list_big.png" alt=""></div>
                            <div class="video"><img src="../img/deta/video_pci.png" alt="">
                                <a class="video_start" href="javascript:;"></a>
                                <div class="video_txt_box" data-url="../img/video_20161202_153609.mp4">
                                </div>
                            </div>
                            <div class="foo_box">
                                <img class="pic1" src="../img/deta/block.png" alt="">
                                <img class="pic2" src="../img/deta/circle.png" alt="">
                                <img class="pic3" src="../img/deta/txts.png" alt="">
                                <img class="pic4" src="../img/deta/icons.png" alt="">
                            </div>
                        </div>
                    </li>
                    <li class="border_bot">
                        <a href="javascript:;" class="slideInUp"><img src="../img/deta/list_01.png" alt=""></a>
                        <div class="content_container slideInUp">
                            <div class="pic"><img src="../img/deta/list_big.png" alt=""></div>
                            <div class="video"><img src="../img/deta/video_pci.png" alt="">
                                <a class="video_start" href="javascript:;"></a>
                                <div class="video_txt_box" data-url="../img/video_20161202_153609.mp4">
                                </div>
                            </div>
                            <div class="foo_box">
                                <img class="pic1" src="../img/deta/block.png" alt="">
                                <img class="pic2" src="../img/deta/circle.png" alt="">
                                <img class="pic3" src="../img/deta/txts.png" alt="">
                                <img class="pic4" src="../img/deta/icons.png" alt="">
                            </div>
                        </div>
                    </li>
                    <li class="border_bot">
                        <a href="javascript:;" class="slideInUp"><img src="../img/deta/list_01.png" alt=""></a>
                        <div class="content_container slideInUp">
                            <div class="pic"><img src="../img/deta/list_big.png" alt=""></div>
                            <div class="video"><img src="../img/deta/video_pci.png" alt="">
                                <a class="video_start" href="javascript:;"></a>
                                <div class="video_txt_box" data-url="../img/video_20161202_153609.mp4">
                                </div>
                            </div>
                            <div class="foo_box">
                                <img class="pic1" src="../img/deta/block.png" alt="">
                                <img class="pic2" src="../img/deta/circle.png" alt="">
                                <img class="pic3" src="../img/deta/txts.png" alt="">
                                <img class="pic4" src="../img/deta/icons.png" alt="">
                            </div>
                        </div>
                    </li>
                </ul>
            </textarea>
        </div>
        <!--  申请页面 -->
        <div class="list_box">
            <div class="content3 apply">
                <img src="../img/deta/apply.png">
                <a href="tel:13178250903" class="tel bott"></a>
            </div>
        </div>
        <div class="footer">@&nbsp;千梦计划(厦门)俱乐部</div>
    </div>
    <!-- 视频按扭弹窗 -->
    <div class="video_window" style="display:none;">
        <div class="window_box">
            <video src="#" webkit-playsinline="" controls="controls"></video><i class="close">×</i></div>
    </div>
    <!-- end -->
    <div class="refresh-loading hide">正在加载中</div>
    <script type="text/javascript" src="../js/jquery.min.js"></script>
    <script type="text/javascript" src="../js/plugins/fastclick.js"></script>
    <script type="text/javascript" src="../js/loading.js"></script>
    <script type="text/javascript" src="../js/main.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
        main.init();
        $(".j_header a").click(function() {
            var index = $(this).index(),
                _desc = $(".list_box").eq(index);
            if (_desc.find("textarea").length > 0) {
                _desc.html(_desc.find("textarea").val());
            };
            $(".j_header a").eq(index).addClass("bgcolor").siblings().removeClass("bgcolor");
            _desc.show().siblings(".list_box").hide();
        }).eq(0).trigger("click");

        //渲染其他模块的html
        function getStr(data) {
            var arr = [];
            arr.push('<li class="border_bot">');
            arr.push('<a href="javascript:;"><img src="../img/deta/list_01.png" alt=""></a>');
            arr.push('<div class="content_container">');
            arr.push('<div class="pic"><img src="../img/deta/list_big.png" alt=""></div>');
            arr.push('<div class="video"><img src="../img/deta/video_pci.png" alt="">');
            arr.push('<a class="video_start" href="javascript:;"></a>');
            arr.push('<div class="video_txt_box" data-url="../img/video_20161202_153609.mp4">');
            arr.push('</div>');
            arr.push('</div>');
            arr.push('<div class="foo_box">');
            arr.push('<img src="../img/deta/block.png" alt=""><img src="../img/deta/circle.png" alt=""><img src="../img/deta/txts.png" alt=""><img src="../img/deta/icons.png" alt="">');
            arr.push('</div>');
            arr.push('</div>');
            arr.push('</li>');
            return arr.join('');
        }

        var baseUrl = "http://192.168.31.108:8083/mockjsdata/24",
            imageUrl = "/api/Photo/photo";

        loading.init({
            tabStr: "nav_ul",
            actStr: "bgcolor",
            url: baseUrl + imageUrl,
            param: {},
            countObj: {},
            cb: function(data) {
                var html = "",
                    now;
                for (var i = 0, len = data.length; i < len; i++) {
                    now = data[i];
                    html += getStr(now);
                }
                $(".list_box:visible ul").append(html);
            }
        });

    })
    </script>
</body>

</html>
